// filter.h
#ifndef FILTER_H
#define FILTER_H

class LowPassFilter {
public:
    LowPassFilter(double alpha);
    double update(double input);

private:
    double alpha;
    double prev_output;
    bool initialized;
};

#endif
